import request from "@/utils/request";

export const getDetailAPI = (id) =>{

  return request.get("/goods",{
    params:{
      id
    }
  })
}

export const getHotGoodsAPI = (params) =>{
  return request.get("/goods/hot",{
    params
  })
}
